import { createStore,combineReducers,applyMiddleware } from 'redux';
import { composeWithDevTools } from 'redux-devtools-extension';
import contralReducer  from "@/views/redux/module/contral.tsx";
import messageReducer  from "@/views/redux/module/message.tsx";
import thunk from "redux-thunk";

// 调用 store.message.msg
const store = createStore(combineReducers({
    contral:contralReducer,
    message:messageReducer
}),composeWithDevTools(applyMiddleware(thunk)));

export default store;